import request from '@/utils/request'

// 登录方法
export function getAddress(longitude,latitude,deptName) {
  const data = {
    longitude,
    latitude,
    deptName
  }
  return request({
    'url': '/system/dept/location',
    headers: {
      isToken: false
    },
    'method': 'post',
    'data': data
  })
}